package com.plan.base.config.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 定时任务配置属性
 *
 * @author zcl
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties("wx")
public class WxProperty {
    /**
     * 小程序ID
     */
    private String appId;
    /**
     * 小程序密钥
     */
    private String secret;

}
